<template>
	<div>
		{{info.abnormalFinishedNum}}
	</div>
</template>

<script>
	import axios from 'axios'
	export default{
		data(){
			return {
				name:'我的名字'
			}
		},
		mounted(){
			// this.init()
		},
		methods:{
			async init(){
	            let data=await axios.get('http://172.20.0.72/squirrel-service/statistic/getAbnormalNum').then(res=>{
					return res
				})	
			}
		},
		asyncData(){
			return axios.get('http://172.20.0.72/squirrel-service/statistic/getAbnormalNum').then(res=>{
				return {info:res.data.data}
			})
		}
	}
</script>

<style>
</style>